﻿using LuShanTea.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LuShanTea.IService
{
    public interface ISettingService : IServiceSupport
    {
        long AddNew(string key, string value, string describle);

        void Update(long settingId, string key, string value, string describle);

        void MarkDeleted(long settingId);

        SettingDTO GetSettingByKey(string key);

        SettingDTO[] GetAll();

        SettingDTO GetSettingById(long settingId);


    }
}
